body {
  width: 100vw;
  overflow-x: hidden;
}
// 页面主体样式
.card-body {
  margin: 14px;
  padding: 10px;
  border-radius: 0px;
  background-color: #fff;
}
// 重设表单行高
.dx-field-item:not(.dx-field-item-has-group):not(.dx-field-item-has-tabs):not(.dx-first-row):not(.dx-label-v-align) {
  padding-top: 12px;
}
.diver-h-20 {
  width: 20px;
}

* {
  margin: 0;
  padding: 0;
}

.list-img {
  height: 100px;
  border-radius: 4px;
  width: 100px;
  object-fit: cover;
  margin-right: 10px;
}

.form-title {
  font-size: 16px;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
}

.form-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 14px;
}

.form-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: row;
  flex: 1;
}

.row-flex-2 {
  flex: 2;
}

.form-label {
  color: rgba(117, 117, 117, 0.87);
  font-size: 12px;
  cursor: default;
  align-self: center;
  padding-right: 15px;
  width: 70px;
}

.form-value-static {
  white-space: normal;
  padding: 10px 0 10px;
  border-bottom: 1px dotted rgb(133, 133, 133);
  width: calc(100% - 70px);
  margin-right: 20px;
}

.text-center {
  text-align: center;
}

.form-column {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  flex: 1;
  .form-label {
    align-self: start;
    font-size: 12px;
  }

  .form-value-static {
    white-space: normal;
    padding: 10px 0 10px;
    width: auto;
    margin-right: 0px;
    border: none;
    font-size: 12px;
    word-wrap: break-word;
    word-break: break-all;
  }
}

.no-data {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(102, 102, 102, 0.87);
  font-size: 17px;
}
.dx-datagrid .dx-link {
  text-decoration: none;
}

.popup-button-bar,
.button-bar {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin-top: 150px;
}

.dx-treeview {
  &.navigation-list {
    .dx-empty-message {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 100px 0;
    }
  }
}

.dx-treeview-item-without-checkbox.dx-state-selected > .dx-treeview-item {
  color: #fff !important;
  background-color: #337ab7 !important;
}

.header-input .dx-texteditor.dx-editor-underlined .dx-texteditor-input,
.header-input .dx-texteditor.dx-editor-underlined .dx-placeholder::before {
  padding: 0 !important;
}
.tree-view-title .dx-texteditor.dx-editor-underlined .dx-texteditor-input {
  color: #fff !important;
}

.lb-form-button {
  display: flex;
  justify-content: space-around;
  position: absolute;
  bottom: 12px;
  width: 100%;
  right: 0;
}
.lb-form-button-right {
  background: #fff;
  display: flex;
  justify-content: space-around;
  position: absolute;
  bottom: 0px;
  right: 0;
  justify-content: flex-end;
  padding: 12px 10px 12px 0;
}
.lb-form-button-left {
  background: #fff;
  display: flex;
  justify-content: space-around;
  position: absolute;
  bottom: 0px;
  width: 100%;
  right: 0;
  justify-content: flex-start;
  padding: 12px 10px 12px 12px;
}
.word1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.word2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.word3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
// 表头编辑
.dx-header-row > td > .dx-datagrid-text-content {
  width: 100%;
}
.flex {
  display: flex;
}

.dx-button-text {
  text-transform: none !important;
}

// .dx-field-item:not(.dx-field-item-has-group):not(.dx-field-item-has-tabs):not(.dx-first-row):not(.dx-label-v-align) {
//   padding-top: 0px !important;
// }
.align-center {
  display: flex;
  // justify-content: start;
  align-items: center;
}

.center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.pad-12 {
  padding: 12px;
}

// 表单tag
.custom-form-item {
  width: 100%;
  position: relative;
  > p {
    position: absolute;
    line-height: 40px;
  }
  > div {
    margin-left: 100px;
  }
}
.notice {
  margin-top: 10px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  > span {
    max-width: 45%;
  }
}
.item-template {
  display: flex;
  align-items: center;
  margin: 6px 0;
  p {
    width: 90px;
    padding: 0 10px;
  }
  div.dx-selectbox {
    flex: 3;
    &:last-child {
      flex: 2;
    }
  }
}

.dx-menu-base .dx-submenu .dx-menu-item {
  display: block;
}
